﻿using Autofac;

namespace Shake.Framework.Setup
{
    public class AutofacConfig
    {
        public static IContainer Container { get; set; }

        public static T Resolve<T>()
        {
            return Shake.Framework.Setup.AutofacConfig.Container.Resolve<T>();
        }
    }
}
